package com.itheima.d1_arrays;

public class demo {
    public static void main(String[] args) {
        double a = -0.5;
        int b = (int)(a);
        System.out.println(b);
    }
}
